package com.qianniu.napi.admin.entity;

import com.baomidou.mybatisplus.enums.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotations.TableId;
import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableName;
import java.io.Serializable;

/**
 * <p>
 * 分享记录
 * </p>
 *
 * @author chenxuebin
 * @since 2019-03-21
 */
@TableName("t_share")
public class Share extends Model<Share> {

	private static final long serialVersionUID = 1L;

	@TableId(value="id", type= IdType.AUTO)
	private Long id;
	private String nickname;
	private String avatarpic;
	private String sharedate;
	private String path;
	private String pathguid;

	private String lastpathguid;
	private Integer jielongshu;

	private String groupid;
	private String guid;

	private Integer viewusers;
	private Integer views;
	private Integer regists;
	private Integer buys;
	private Integer qfjiang;

	private Long ywid;
	private String page;
	private Integer sendoff;
	private String sentdate;

	private Long uid;
	private Long mid;
	private Long mpid;
	private Date createtime;
	private Date modifytime;
	private Long modifier;


	public Long getId() {
		return id;
	}

	public void setId(Long id) {
		this.id = id;
	}

	public String getNickname() {
		return nickname;
	}

	public void setNickname(String nickname) {
		this.nickname = nickname;
	}

	public String getAvatarpic() {
		return avatarpic;
	}

	public void setAvatarpic(String avatarpic) {
		this.avatarpic = avatarpic;
	}

	public String getSharedate() {
		return sharedate;
	}

	public void setSharedate(String sharedate) {
		this.sharedate = sharedate;
	}

	public String getPath() {
		return path;
	}

	public void setPath(String path) {
		this.path = path;
	}

	public Integer getViews() {
		return views;
	}

	public void setViews(Integer views) {
		this.views = views;
	}

	public Integer getRegists() {
		return regists;
	}

	public void setRegists(Integer regists) {
		this.regists = regists;
	}

	public Integer getBuys() {
		return buys;
	}

	public void setBuys(Integer buys) {
		this.buys = buys;
	}

	public Long getMid() {
		return mid;
	}

	public void setMid(Long mid) {
		this.mid = mid;
	}

	public Long getMpid() {
		return mpid;
	}

	public void setMpid(Long mpid) {
		this.mpid = mpid;
	}

	public Date getCreatetime() {
		return createtime;
	}

	public void setCreatetime(Date createtime) {
		this.createtime = createtime;
	}

	public Date getModifytime() {
		return modifytime;
	}

	public void setModifytime(Date modifytime) {
		this.modifytime = modifytime;
	}

	public Long getModifier() {
		return modifier;
	}

	public void setModifier(Long modifier) {
		this.modifier = modifier;
	}

	public Long getUid() {
		return uid;
	}

	public void setUid(Long uid) {
		this.uid = uid;
	}

	public String getPathguid() {
		return pathguid;
	}

	public void setPathguid(String pathguid) {
		this.pathguid = pathguid;
	}

	public String getGroupid() {
		return groupid;
	}

	public void setGroupid(String groupid) {
		this.groupid = groupid;
	}

	public String getGuid() {
		return guid;
	}

	public void setGuid(String guid) {
		this.guid = guid;
	}

	public Integer getQfjiang() {
		return qfjiang;
	}

	public void setQfjiang(Integer qfjiang) {
		this.qfjiang = qfjiang;
	}

	public Long getYwid() {
		return ywid;
	}

	public void setYwid(Long ywid) {
		this.ywid = ywid;
	}

	public String getPage() {
		return page;
	}

	public void setPage(String page) {
		this.page = page;
	}

	public Integer getViewusers() {
		return viewusers;
	}

	public void setViewusers(Integer viewusers) {
		this.viewusers = viewusers;
	}

	public Integer getSendoff() {
		return sendoff;
	}

	public void setSendoff(Integer sendoff) {
		this.sendoff = sendoff;
	}

	public String getSentdate() {
		return sentdate;
	}

	public void setSentdate(String sentdate) {
		this.sentdate = sentdate;
	}

	public String getLastpathguid() {
		return lastpathguid;
	}

	public void setLastpathguid(String lastpathguid) {
		this.lastpathguid = lastpathguid;
	}

	public Integer getJielongshu() {
		return jielongshu;
	}

	public void setJielongshu(Integer jielongshu) {
		this.jielongshu = jielongshu;
	}

	@Override
	protected Serializable pkVal() {
		return this.id;
	}

	@Override
	public String toString() {
		return "Share{" +
				"id=" + id +
				", nickname=" + nickname +
				", avatarpic=" + avatarpic +
				", sharedate=" + sharedate +
				", path=" + path +
				", views=" + views +
				", regists=" + regists +
				", buys=" + buys +
				", mid=" + mid +
				", mpid=" + mpid +
				", createtime=" + createtime +
				", modifytime=" + modifytime +
				", modifier=" + modifier +
				"}";
	}
}
